package wangxiaotao.tools;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 默认数据
 */
@Data
@Component
@PropertySource({"classpath:defaultValue.properties"})
@ConfigurationProperties(prefix = "const")
public class ConstValue {

    private String avatar;
    private String defaultPassword;
    private Boolean defaultStatue;
    private Integer defaultRoleId;
    private Integer defaultRetryLimit;

    private Integer defaultOrderUserId;
    private Integer defaultOrderStatue;

    private String defaultAdminRole;
}
